Udostępnij przez


RightsManagementInformation.SavePublishLicense(PublishLicense) Metoda

Definicja

Zapisuje dane PublishLicense w zaszyfrowanym strumieniu danych usługi Rights Management.

public:
 void SavePublishLicense(System::Security::RightsManagement::PublishLicense ^ publishLicense);
public void SavePublishLicense (System.Security.RightsManagement.PublishLicense publishLicense);
member this.SavePublishLicense : System.Security.RightsManagement.PublishLicense -> unit
Public Sub SavePublishLicense (publishLicense As PublishLicense)

Parametry

publishLicense
PublishLicense

Licencja publikowania do przechowywania i osadzania w pakiecie.

Wyjątki

Parametr publishLicense ma wartość null.

Informacje o zarządzaniu prawami w tym pakiecie nie mogą być odczytywane przez bieżącą wersję tej klasy.

Uwagi

Każdy EncryptedPackageEnvelope może zawierać tylko jeden PublishLicenseobiekt . Każde wywołanie metody SavePublishLicense spowoduje zastąpienie wszystkich poprzednich PublishLicense wywołań zawartych w obiekcie EncryptedPackageEnvelope.

Dotyczy

Zobacz też