共用方式為


EnumCredentials 方法

Returns a String Collection of credentials associated with a login.

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

語法

'宣告
Public Function EnumCredentials As StringCollection
'用途
Dim instance As Login
Dim returnValue As StringCollection

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