Share via


SharedSecret Property

Gets the shared secret credential object stored in this instance.

Namespace:  Microsoft.ServiceBus.Description
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

Syntax

'Declaration
Public Property SharedSecret As SharedSecretCredential
    Get
    Friend Set
'Usage
Dim instance As TransportClientCredentials
Dim value As SharedSecretCredential

value = instance.SharedSecret
public SharedSecretCredential SharedSecret { get; internal set; }
public:
property SharedSecretCredential^ SharedSecret {
    SharedSecretCredential^ get ();
    internal: void set (SharedSecretCredential^ value);
}
member SharedSecret : SharedSecretCredential with get, internal set
function get SharedSecret () : SharedSecretCredential
internal function set SharedSecret (value : SharedSecretCredential)

Property Value

Type: Microsoft.ServiceBus.Description. . :: . .SharedSecretCredential
The shared secret credential object stored in this instance.

Remarks

If the shared secret credential object in this instance is null Nothing nullptr unit a null reference (Nothing in Visual Basic) , this property creates this object and returns it.

See Also

Reference

TransportClientCredentials Class

Microsoft.ServiceBus.Description Namespace