Share via


Login.EnumCredentials Method

Returns a string collection of credentials associated with a login.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function EnumCredentials As StringCollection
'Usage
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

Return Value

Type: System.Collections.Specialized.StringCollection
A string collection of credentials associated with a login.

See Also

Reference

Login Class

Microsoft.SqlServer.Management.Smo Namespace