ProxyAccount.CredentialName 属性
Gets or sets the name of the credential.
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property CredentialName As String
Get
Set
用法
Dim instance As ProxyAccount
Dim value As String
value = instance.CredentialName
instance.CredentialName = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string CredentialName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ CredentialName {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member CredentialName : string with get, set
function get CredentialName () : String
function set CredentialName (value : String)
属性值
类型:System.String
A String value that specifies the name of the credential.
注释
The CredentialName property is used to specify the credential.
The proxy account credential is required to allow the proxy account access to the subsystems for Microsoft SQL Server authenticated logins.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo.Agent 命名空间