2025-04-27 07:49:33 -04:00

180 lines
5.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<TITLE>IIsComputer</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
TempString = navigator.appVersion
if (navigator.appName == "Microsoft Internet Explorer"){
// Check to see if browser is Microsoft
if (TempString.indexOf ("4.") >= 0){
// Check to see if it is IE 4
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
}
else {
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
}
}
else if (navigator.appName == "Netscape") {
// Check to see if browser is Netscape
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
}
else
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
//-->
</script>
<SCRIPT LANGUAGE="VBScript">
<!--
Sub Window_OnLoad()
Dim frmContents
On Error Resume Next
If Not Parent Is Nothing Then
Set frmContents = Parent.Contents
If Not frmContents Is Nothing Then
frmContents.Window.TOCSynch_Click
End If
End If
End Sub
//--></SCRIPT><META NAME="DESCRIPTION" CONTENT="Internet Information Services reference information">
<META HTTP-EQUIV="PICS-Label" CONTENT='(PICS-1.1 "<http://www.rsac.org/ratingsv01.html>" l comment "RSACi North America Server" by "inet@microsoft.com <mailto:inet@microsoft.com>" r (n 0 s 0 v 0 l 0))'>
<META NAME="MS.LOCALE" CONTENT="EN-US">
<META NAME="MS-IT-LOC" Content="Internet Information Services">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H2><A NAME="_k2_iiscomputer"></A><SUP></SUP>IIsComputer</H2>
<P>You can use the <B>IIsComputer</B> object to set values of global metabase properties that determine how IIS operates. The <B>IIsComputer</B> object also provides methods to manage metabase backups. You can use these methods to store multiple backup versions in long-term storage, restore the metabase from a backup version of your choice, and enumerate and delete backups.</P>
<P>The <B>IIsComputer</B> object is an ADSI container object.</P>
<H6>ADsPath</H6>
<DL>
<DT>IIS://<I>MachineName</I></DT>
<DT></DT>
</DL>
<P>where <I>MachineName </I>can be any name or "LocalHost."</P>
<H6>Syntax</H6>
<P><I>varReturn </I><B>= </B><I>object</I><B>.</B><I>Method</I></P>
<P>&nbsp;</P>
<H6>Parts</H6>
<DL>
<DT><I>varReturn</I></DT>
<DD>A variable that receives the return value from the method.<BR>
</DD>
<DT><I>object</I></DT>
<DD>A variable that contains the <B>IIsComputer</B> object, usually as a result of a previous <B>GetObject</B> operation.<BR>
</DD>
<DT><I>Method</I></DT>
<DD>The object method chosen.</DD>
</DL>
<H6>Can Contain</H6>
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore32n9.htm"><B>IIsFtpService</B></A></TD>
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore8m5s.htm"><B>IIsMimeMap</B></A></TD>
</TR>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore5pyr.htm"><B>IIsLogModules</B></A></TD>
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore1p5x.htm"><B>IIsWebService</B></A></TD>
</TR>
</TABLE><BR>
<H6>Properties</H6>
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=cols>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/adsi57hv.htm"><B>ADSI Object Properties</B></A></TD>
<TD width=50%>Standard properties for ADSI objects.</TD>
</TR>
</TABLE><BR>
<H6>Metabase Properties</H6>
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro5bhk.htm"><B>MaxBandWidth</B></A></TD>
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro5gs0.htm"><B>MimeMap</B></A></TD>
</TR>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro5oro.htm"><B>MaxBandWidthBlocked</B></A></TD>
<TD width=50%>&nbsp;</TD>
</TR>
</TABLE><BR>
<H6>Methods</H6>
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore32cw.htm"><B>Backup</B></A></TD>
<TD width=50%>Saves the metabase to long-term storage.</TD>
</TR>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore2ep0.htm"><B>BackupWithPassword</B></A></TD>
<TD width=50%>Saves the metabase to long-term storage with an optionally-supplied password.</TD>
</TR>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore79rk.htm"><B>DeleteBackup</B></A></TD>
<TD width=50%>Deletes a metabase backup from long-term storage.</TD>
</TR>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore1v8z.htm"><B>EnumBackups</B></A></TD>
<TD width=50%>Enumerates metabase backups in long-term storage.</TD>
</TR>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore5ucl.htm"><B>Restore</B></A></TD>
<TD width=50%>Restores a metabase backup from long-term storage.</TD>
</TR>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore0tpg.htm"><B>RestoreWithPassword</B></A></TD>
<TD width=50%>Restores a metabase backup using the same optionally-supplied password given when the <B>BackupWithPassword</B> method was used.</TD>
</TR>
</TABLE><BR>
<H6>See Also</H6>
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/adsi0ewj.htm"><B>ADSI Object Methods</B></A></TD>
<TD width=50%>Standard methods for ADSI objects.</TD>
</TR>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/adsi7qpf.htm"><B>ADSI Container Object Methods</B></A></TD>
<TD width=50%>Standard methods for ADSI container objects.</TD>
</TR>
</TABLE><BR>
<hr class="iis" size="1">
<p align="center"><em><a href="../../../common/colegal.htm">&copy; 1997-2001 Microsoft Corporation. All rights reserved.</a></em></p>
</BODY>
</HTML>