TemplateInformation class
[The AD RMS SDK leveraging functionality exposed by the client in Msdrm.dll is available for use in Windows Server 2008, Windows Vista, Windows Server 2008 R2, Windows 7, Windows Server 2012, and Windows 8. It may be altered or unavailable in subsequent versions. Instead, use Active Directory Rights Management Services SDK 2.1, which leverages functionality exposed by the client in Msipc.dll.]
The TemplateInformation class contains information about the templates stored on an AD RMS server. This object is returned by the AcquireTemplateInformation method.
Note
This SOAP data type is documented as if it were used in a .NET Framework XML web service client. For more information about creating an XML web service client, see Building XML Web Service Clients and Accessing XML Web Services in Managed Code.
Inheritance
The TemplateInformation class is derived from System.Object.
Members
Fields
The TemplateInformation class has the following fields.
Field | Description |
---|---|
ServerPublicKey | Data type: String A string value that contains the public key of the AD RMS server. |
GuidHashCount | Data type: Int32 An integer value that contains the number of active templates stored on the server. |
GuidHashList | Data type: GuidHash[] An array of GuidHash objects that contain the template hashes. Hashes are used by AD RMS to determine whether a template has changed after it was last retrieved. If it has not changed, it will not be downloaded. |
Web Service Description Page
ServerURL/_wmcs/Licensing/TemplateDistribution.asmx?wsdl
Remarks
The actual structure of the SOAP type varies from language to language. To obtain the structure of the type, query the web service description page.
You can call the AcquireTemplateInformation method to retrieve a TemplateInformation object, and you can call the AcquireTemplates method to retrieve an array of active templates from the AD RMS server.
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |