Aracılığıyla paylaş


CredentialCollection.ItemById Method

Extracts a member from the CredentialCollection collection by using a unique identifier.

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

Syntax

'Bildirim
Public Function ItemById ( _
    id As Integer _
) As Credential
'Kullanım
Dim instance As CredentialCollection
Dim id As Integer
Dim returnValue As Credential

returnValue = instance.ItemById(id)
public Credential ItemById(
    int id
)
public:
Credential^ ItemById(
    int id
)
member ItemById : 
        id:int -> Credential 
public function ItemById(
    id : int
) : Credential

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.Credential
A Credential object that has the specified ID value.

Examples

Using Collections

See Also

Reference

CredentialCollection Class

Microsoft.SqlServer.Management.Smo Namespace