Sdílet prostřednictvím


ServiceHostBase.Credentials Vlastnost

Definice

Získá přihlašovací údaje pro hostované služby.

public:
 property System::ServiceModel::Description::ServiceCredentials ^ Credentials { System::ServiceModel::Description::ServiceCredentials ^ get(); };
public System.ServiceModel.Description.ServiceCredentials Credentials { get; }
member this.Credentials : System.ServiceModel.Description.ServiceCredentials
Public ReadOnly Property Credentials As ServiceCredentials

Hodnota vlastnosti

ServiceCredentials

Hostovaná ServiceCredentials služba.

Příklady

ServiceCredentials credentials =
                hostDefault.Credentials;

Platí pro