Rediger

Del via


ComputerPrincipal.ServicePrincipalNames Property

Definition

Gets a collection of the Service Principal Names (SPN) for the computer account.

public:
 property System::DirectoryServices::AccountManagement::PrincipalValueCollection<System::String ^> ^ ServicePrincipalNames { System::DirectoryServices::AccountManagement::PrincipalValueCollection<System::String ^> ^ get(); };
public System.DirectoryServices.AccountManagement.PrincipalValueCollection<string> ServicePrincipalNames { get; }
member this.ServicePrincipalNames : System.DirectoryServices.AccountManagement.PrincipalValueCollection<string>
Public ReadOnly Property ServicePrincipalNames As PrincipalValueCollection(Of String)

Property Value

A collection of SPNs that specify the names of the accounts registered for this computer. The syntax for the SPN depends on the underlying store.

Applies to