Поделиться через


Свойство ProxyAccount.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.

Примеры

Планирование автоматических административных задач в агенте SQL Server

См. также

Справочник

ProxyAccount Класс

Пространство имен Microsoft.SqlServer.Management.Smo.Agent

Другие ресурсы

Задачи автоматизированного администрирования (агент SQL Server)

Хранимая процедура sp_add_proxy (Transact-SQL)

sp_grant_proxy_to_subsystem (Transact-SQL)