共用方式為


EnumLogins 方法

Enumerates a list of logins associated with the credential.

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

語法

'宣告
Public Function EnumLogins As StringCollection
'用途
Dim instance As Credential
Dim returnValue As StringCollection

returnValue = instance.EnumLogins()
public StringCollection EnumLogins()
public:
StringCollection^ EnumLogins()
member EnumLogins : unit -> StringCollection 
public function EnumLogins() : StringCollection

傳回值

型別:System.Collections.Specialized. . :: . .StringCollection
A StringCollection object value that contains a list of logins associated with the credential.

範例

呼叫方法