WSManSessionOptions.EncodePortInServicePrincipalName Property
Gets or sets the flag that determines whether to encode the port in the service principal name (SPN) when establishing a connection.
Namespace: Microsoft.Management.Infrastructure.Options
Assembly: Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)
Syntax
public bool EncodePortInServicePrincipalName { get; set; }
public:
property bool EncodePortInServicePrincipalName {
bool get();
void set(bool value);
}
member EncodePortInServicePrincipalName : bool with get, set
Public Property EncodePortInServicePrincipalName As Boolean
Property Value
Type: System.Boolean
true to encode the port with the SPN; otherwise false.
See Also
WSManSessionOptions Class
Microsoft.Management.Infrastructure.Options Namespace
Return to top