Subclass of MicrosoftDNS_ResourceRecord that represents an Andrew File System Database Server (AFSDB) record.
The following syntax is simplified from MOF code.
Syntax
class MicrosoftDNS_AFSDBType : MicrosoftDNS_ResourceRecord
{
uint16 Subtype;
string ServerName;
};
Members
The MicrosoftDNS_AFSDBType class has these types of members:
Methods
The MicrosoftDNS_AFSDBType class has these methods.
| Method | Description |
|---|---|
| CreateInstanceFromPropertyData | Instantiates an AFSDB Resource Record based on the data in the method's input parameters: the record's DNS Server Name, Container Name, Owner/Cell Name, class (default = IN), time-to-live value, and host AFS server subtype and name. Returns a reference to the new object as an output parameter. Qualifiers: Implemented, static |
| Modify | This method updates the TTL, Subtype and Server Name to the values specified as the input parameters of this method. If a new value for a parameter is not specified, then the current value for the parameter is not changed. The method returns a reference to the modified object as an output parameter. Qualifiers: Implemented |
Properties
The MicrosoftDNS_AFSDBType class has these properties.
ServerName
Data type: string
Access type: Read-only
FQDN specifying a host that has a server for the AFS cell specified in the owner name.
Subtype
Data type: uint16
Access type: Read-only
Subtype of the host AFS server. For subtype 1 (value=1), the host has an AFS version 3.0 Volume Location Server for the named AFS cell. In the case of subtype 2 (value=2), the host has an authenticated name server holding the cell-root directory node for the named DCE/NCA cell.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | None supported |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Namespace | Root\MicrosoftDNS |
| MOF | Dnsprov.mof |
See also
CreateInstanceFromPropertyData Method of the MicrosoftDNS_AFSDBType Class
Modify Method of the MicrosoftDNS_AFSDBType Class
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
