IDSRefProvider.CreateFirstChildNode Method
Adds an initial child node to a parent node.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities.Interop
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Function CreateFirstChildNode ( _
drnidCurr As IntPtr _
) As IntPtr
IntPtr CreateFirstChildNode(
IntPtr drnidCurr
)
IntPtr CreateFirstChildNode(
IntPtr drnidCurr
)
abstract CreateFirstChildNode :
drnidCurr:IntPtr -> IntPtr
function CreateFirstChildNode(
drnidCurr : IntPtr
) : IntPtr
Parameters
drnidCurr
Type: System.IntPtrThe DSREFNODEID of the parent node for which the first child node is to be created.
Return Value
Type: System.IntPtr
NOERROR if successful; otherwise, an unspecified failure code.
Remarks
During the creation of the database node, DSREFNODEID_ROOT ( = 0) should be passed as the first parameter.
Examples
IDSRefProvider *pIDSRefProvider;
DSREFNODEID &rdrnid;
DSREFNODEID drnid;
pIDSRefProvider->CreateFirstChildNode(rdrnid, &drnid);
.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