Certificate.Subject Property
Gets or sets the subject of the certificate.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property Subject As String
Get
Set
'Usage
Dim instance As Certificate
Dim value As String
value = instance.Subject
instance.Subject = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string Subject { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property String^ Subject {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member Subject : string with get, set
function get Subject () : String
function set Subject (value : String)
Property Value
Type: System.String
A String value that specifies the subject of the certificate.
See Also