IDSRefProvider.SetOwner Method
Sets the schema name for a specified node.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities.Interop
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Sub SetOwner ( _
drnidCurr As IntPtr, _
bstrOwnerName As String _
)
void SetOwner(
IntPtr drnidCurr,
string bstrOwnerName
)
void SetOwner(
IntPtr drnidCurr,
String^ bstrOwnerName
)
abstract SetOwner :
drnidCurr:IntPtr *
bstrOwnerName:string -> unit
function SetOwner(
drnidCurr : IntPtr,
bstrOwnerName : String
)
Parameters
drnidCurr
Type: System.IntPtrThe DSREFNODEID of the node whose owner name is to be set.
bstrOwnerName
Type: System.StringA BSTR that contains the owner name to be set for the specified node.
Examples
IDSRefProvider *pIDSRefProvider;
DSREFNODEID drnid;
BSTR dsrnOwnerName;
pIDSRefProvider->SetOwner(drnid, dsrnOwnerName);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Services.SupportEntities.Interop Namespace