IDSRefConsumer.GetOwner, méthode

Récupère le schéma de l'objet de base de données auquel la base de données fait référence.

Espace de noms :  Microsoft.VisualStudio.Data.Services.SupportEntities.Interop
Assembly :  Microsoft.VisualStudio.Data.Services (dans Microsoft.VisualStudio.Data.Services.dll)

Syntaxe

'Déclaration
Function GetOwner ( _
    drnidCurr As IntPtr _
) As String
string GetOwner(
    IntPtr drnidCurr
)
String^ GetOwner(
    IntPtr drnidCurr
)
abstract GetOwner : 
        drnidCurr:IntPtr -> string 
function GetOwner(
    drnidCurr : IntPtr
) : String

Paramètres

  • drnidCurr
    Type : System.IntPtr
    DSREFNODEID du nœud dont le schéma de propriétaire doit être récupéré.

Valeur de retour

Type : System.String
NOERROR si l'opération a réussi ; sinon, un code non spécifié d'échec.

Exemples

C++

IDSRefConsumer* m_srpCurrentDSRef;
DSREFNODEID id;
BSTR bstrOwner = NULL;
m_srpCurrentDSRef->GetOwner(id, &bstrOwner);

Sécurité .NET Framework

Voir aussi

Référence

IDSRefConsumer Interface

Microsoft.VisualStudio.Data.Services.SupportEntities.Interop, espace de noms