Compartilhar via


AcquireTemplateInformation method

[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 AcquireTemplateInformation method returns information about the templates stored on an AD RMS server.

Syntax

public TemplateInformation AcquireTemplateInformation();

VB
Public Function AcquireTemplateInformation() As TemplateInformation

Parameters

This method has no parameters.

Return value

A TemplateInformation object that contains the server public key, the number of active templates, and an array of template hashes.

Web Service URL

ServerURL/_wmcs/Licensing/TemplateDistribution.asmx

Remarks

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

See also

AD RMS SOAP Web Methods

AcquireTemplates

TemplateInformation