共用方式為


CredentialID 屬性

Gets the ID value that uniquely identifies the proxy agent credential.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property CredentialID As Integer
    Get
'用途
Dim instance As ProxyAccount
Dim value As Integer

value = instance.CredentialID
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int CredentialID { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int CredentialID {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member CredentialID : int
function get CredentialID () : int

屬性值

型別:System. . :: . .Int32
An Int32 value that specifies the ID value that uniquely identifies the proxy account credential.

備註

The proxy account credential is required to allow the proxy account access to the subsystems for Microsoft SQL Server authenticated logins.