Partager via


ServerStub.GetObjectIdentity - Méthode

Get object's identity.

An object's identity is some string that could uniquely identify an object on the server. It will be used by the ObjectFactory associated with the target type. For example, an SPUser object identity is 740c6a0b-85e2-48a0-a494-e0f1759d4aa7:site:27047ae4-5d91-48bd-8f65-56b91db34ac6:u:1. It's up to the object factory associated with the target type to parse it.

Espace de noms :  Microsoft.SharePoint.Client
Assembly :  Microsoft.SharePoint.Client.ServerRuntime (dans Microsoft.SharePoint.Client.ServerRuntime.dll)

Syntaxe

'Déclaration
Protected Friend Overridable Function GetObjectIdentity ( _
    obj As Object _
) As String
'Utilisation
Dim obj As Object
Dim returnValue As String

returnValue = Me.GetObjectIdentity(obj)
protected internal virtual string GetObjectIdentity(
    Object obj
)

Paramètres

Valeur renvoyée

Type : System.String

Voir aussi

Référence

ServerStub classe

ServerStub - Membres

Microsoft.SharePoint.Client - Espace de noms