You can use the IIsNntpVirtualDir object to set metabase properties that apply to one or to all NNTP virtual directories for an NNTP server. If you use the IIsNntpVirtualDir object at the serverÆs root virtual directory (for example, à/NNTPSVC/2/Root), inheritable property values will apply to all subordinate virtual directories. You can set properties for a specific virtual directory by using the IIsNntpVirtualDir object for a specific virtual directory (for example, à/NNTPSVC/5/Root/ProjectXDir).
The IIsNntpVirtualDir object is an ADSI container object and might contain IIsNntpVirtualDir objects. (For more information, see ADSI Features in the Programmer's Reference in the IIS documentation.)
IIS://MachineName/NNTPSVC/n/Root
where MachineName can be any computer name or LocalHost, and n is equal to 1.
For a specific virtual directory,
IIS://MachineName/NNTPSVC/n/Root/vdirName
where MachineName can be any computer name or LocalHost, n is equal to 1, and vdirName is a virtual directory.
varReturn = object.{Method}
varReturn | A variable that receives the return value from the method |
Object | A variable that contains the IIsNntpVirtualDir object as a result of a previous GetObject operation |
Method | The object method chosen (For information about the methods used with Admin Objects, see IIS Admin Objects in IIS documentation.) |
The following table is a list of the properties for the metabase values that can be configured at the IIsNntpVirtualDir object. You have access to properties specific to Microsoft NNTP Service from here; all other properties are used by other IIS Admin Objects and are documented in the Administration Property Reference in the IIS documentation.
AccessExecute | AccessWrite |
AccessFlags | ContentIndexed |
AccessSSL | KeyType |
AccessSSL128 | Path |
AccessSSLFlags | UNCPassword |
AccessSSLMapCert | UNCUserName |
AccessSSLNegotiateCert | Win32Error |
AccessSSLRequireCert |