共用方式為


Subject 屬性

Gets or sets the subject of the certificate.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property Subject As String
    Get
    Set
'用途
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)

屬性值

型別:System. . :: . .String
A String value that specifies the subject of the certificate.

範例

使用加密