Credential.ProviderName 属性

Gets or sets the name of the provider.

此 API 不符合 CLS。 

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcReferenceAttribute(GetType(CryptographicProvider), "Server[@Name = '{0}']/CryptographicProvider[@Name = '{1}']",  _
    )> _
<CLSCompliantAttribute(False)> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone, "string.empty")> _
Public Property ProviderName As String 
    Get 
    Set
用法
Dim instance As Credential 
Dim value As String 

value = instance.ProviderName

instance.ProviderName = value
[SfcReferenceAttribute(typeof(CryptographicProvider), "Server[@Name = '{0}']/CryptographicProvider[@Name = '{1}']", 
    )]
[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags.Standalone, "string.empty")]
public string ProviderName { get; set; }
[SfcReferenceAttribute(typeof(CryptographicProvider), L"Server[@Name = '{0}']/CryptographicProvider[@Name = '{1}']", 
    )]
[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags::Standalone, L"string.empty")]
public:
property String^ ProviderName {
    String^ get ();
    void set (String^ value);
}
[<SfcReferenceAttribute(typeof(CryptographicProvider), "Server[@Name = '{0}']/CryptographicProvider[@Name = '{1}']", 
    )>]
[<CLSCompliantAttribute(false)>]
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone, "string.empty")>]
member ProviderName : string with get, set
function get ProviderName () : String 
function set ProviderName (value : String)

属性值

类型:System.String
A String value that specifies the name of the provider.

示例

设置属性

请参阅

参考

Credential 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

CREATE CREDENTIAL (Transact-SQL)

凭据(数据库引擎)