Share via


User.Certificate Property

Gets or sets the certificate for the user.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property Certificate As String
    Get
    Set
'Usage
Dim instance As User
Dim value As String

value = instance.Certificate

instance.Certificate = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string Certificate { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property String^ Certificate {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member Certificate : string with get, set
function get Certificate () : String
function set Certificate (value : String)

Property Value

Type: System.String
A String object value that specifies the certificate for the user.