DslLibraryHasRelationships Constructor (DslLibrary, DomainRelationship)
Constructor Creates a DslLibraryHasRelationships link in the same Partition as the given DslLibrary
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣告
Public Sub New ( _
source As DslLibrary, _
target As DomainRelationship _
)
public DslLibraryHasRelationships(
DslLibrary source,
DomainRelationship target
)
public:
DslLibraryHasRelationships(
DslLibrary^ source,
DomainRelationship^ target
)
new :
source:DslLibrary *
target:DomainRelationship -> DslLibraryHasRelationships
public function DslLibraryHasRelationships(
source : DslLibrary,
target : DomainRelationship
)
Parameters
- source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary
DslLibrary to use as the source of the relationship.
- target
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship
DomainRelationship to use as the target of the relationship.
.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
DslLibraryHasRelationships Class