IDSRefProvider.SetOwner, méthode
Définit le nom de schéma pour un nœud spécifié.
Espace de noms : Microsoft.VisualStudio.Data.Interop
Assembly : Microsoft.VisualStudio.Data (dans Microsoft.VisualStudio.Data.dll)
Syntaxe
'Déclaration
Sub SetOwner ( _
drnidCurr As IntPtr, _
bstrOwnerName As String _
)
void SetOwner(
IntPtr drnidCurr,
string bstrOwnerName
)
void SetOwner(
[InAttribute] IntPtr drnidCurr,
[InAttribute] String^ bstrOwnerName
)
abstract SetOwner :
drnidCurr:IntPtr *
bstrOwnerName:string -> unit
function SetOwner(
drnidCurr : IntPtr,
bstrOwnerName : String
)
Paramètres
- drnidCurr
Type : System.IntPtr
[in] DSREFNODEID du nœud dont le nom du propriétaire doit être défini.
- bstrOwnerName
Type : System.String
[in] BSTR qui contient le nom du propriétaire à définir pour le nœud spécifié.
Exemples
IDSRefProvider *pIDSRefProvider;
DSREFNODEID drnid;
BSTR dsrnOwnerName;
pIDSRefProvider->SetOwner(drnid, dsrnOwnerName);
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Voir aussi
Référence
Microsoft.VisualStudio.Data.Interop, espace de noms
Autres ressources
Extensibilité (DDEX) du concepteur Kit de développement logiciel de données