共用方式為


User.AuthenticationType 屬性

Gets a string value that describes the mechanism used to authenticate the user.

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

語法

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

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.AuthenticationType
The mechanism used to authenticate the user.

請參閱

參考

User 類別

Microsoft.SqlServer.Management.Smo 命名空間