<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<TITLE>ADSI Object Properties</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_adsi_object_properties"></A><SUP></SUP>ADSI Object Properties</H2>

<P>The IIS Admin Objects implement the six basic properties that ADSI objects require. The data type for all of these properties is string.</P>

<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>

<TR VALIGN="top">
<TD class=blue width=48%><B>ADSI Property</B></TD>
<TD class=blue width=52%><B>Description</B></TD>
</TR>

<TR VALIGN="top">
<TD width=48%><B>Name</B></TD>
<TD width=52%>The name of the object used within the underlying namespace.</TD>
</TR>

<TR VALIGN="top">
<TD width=48%><B>ADsPath</B></TD>
<TD width=52%>The path that uniquely identifies the object, and which is used in <B>GetObject</B> to retrieve the object.</TD>
</TR>

<TR VALIGN="top">
<TD width=48%><B>Class</B></TD>
<TD width=52%>The name of the schema class of the object.</TD>
</TR>

<TR VALIGN="top">
<TD width=48%><B>GUID</B></TD>
<TD width=52%>A unique identifier for objects of this schema class. IIS uses the globally unique identifier (GUID).</TD>
</TR>

<TR VALIGN="top">
<TD width=48%><B>Parent</B></TD>
<TD width=52%>The <B>ADsPath</B> of the parent container object.</TD>
</TR>

<TR VALIGN="top">
<TD width=48%><B>Schema</B></TD>
<TD width=52%>The <B>ADsPath</B> of the object that represents this schema class in the schema.</TD>
</TR>
</TABLE><BR>

<P>The ADSI object properties are read-only and are provided for use with ADSI client programs for ADSI namespace administration. The following table provides an example of the ADSI properties for the <B>IIsWebService</B> object. <I>LocalHost</I> is a placeholder for the name of the local computer on which IIS is running.</P>

<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>

<TR VALIGN="top">
<TD class=blue width=48%><B>ADSI Property</B></TD>
<TD class=blue width=52%><B>Value</B></TD>
</TR>

<TR VALIGN="top">
<TD width=48%><B>Name</B></TD>
<TD width=52%>W3SVC</TD>
</TR>

<TR VALIGN="top">
<TD width=48%><B>ADsPath</B></TD>
<TD width=52%>IIS://<I>LocalHost</I>/W3SVC</TD>
</TR>

<TR VALIGN="top">
<TD width=48%><B>Class</B></TD>
<TD width=52%>IIsWebService</TD>
</TR>

<TR VALIGN="top">
<TD width=48%><B>GUID</B></TD>
<TD width=52%>{8B645280-7BA4-11CF-B03D-00AA006E0975}</TD>
</TR>

<TR VALIGN="top">
<TD width=48%><B>Parent</B></TD>
<TD width=52%>IIS://<I>LocalHost</I></TD>
</TR>

<TR VALIGN="top">
<TD width=48%><B>Schema</B></TD>
<TD width=52%>IIS://<I>LocalHost</I>/schema/IIsWebService</TD>
</TR>
</TABLE><BR>

<P>You can use the ADSI <B>Name</B> property to document the structure of your IIS installation.</P>

<P>You can use the metabase properties supported by the IIS Admin Objects to control the configuration of your IIS installation. See <A HREF="/iishelp/iis/htm/asp/adsi0ewj.htm">ADSI Object Methods</A> and the specific metabase properties supported by each of the individual IIS Admin Objects.</P>
<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>