SfcMetadataRelation 构造函数 (String, Type, SfcCardinality, SfcRelationship, Type)
不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Sub New ( _
propertyName As String, _
type As Type, _
cardinality As SfcCardinality, _
relationship As SfcRelationship, _
containerType As Type _
)
用法
Dim propertyName As String
Dim type As Type
Dim cardinality As SfcCardinality
Dim relationship As SfcRelationship
Dim containerType As Type
Dim instance As New SfcMetadataRelation(propertyName, _
type, cardinality, relationship, _
containerType)
public SfcMetadataRelation(
string propertyName,
Type type,
SfcCardinality cardinality,
SfcRelationship relationship,
Type containerType
)
public:
SfcMetadataRelation(
String^ propertyName,
Type^ type,
SfcCardinality cardinality,
SfcRelationship relationship,
Type^ containerType
)
new :
propertyName:string *
type:Type *
cardinality:SfcCardinality *
relationship:SfcRelationship *
containerType:Type -> SfcMetadataRelation
public function SfcMetadataRelation(
propertyName : String,
type : Type,
cardinality : SfcCardinality,
relationship : SfcRelationship,
containerType : Type
)
参数
- propertyName
类型:System. . :: . .String
A String that specifies the name of the property.
- type
类型:System. . :: . .Type
The specified type of the property.
- cardinality
类型:Microsoft.SqlServer.Management.Sdk.Sfc.Metadata. . :: . .SfcCardinality
The SfcObjectCardinality cardinality of the type in relationship to its parent.
- relationship
类型:Microsoft.SqlServer.Management.Sdk.Sfc.Metadata. . :: . .SfcRelationship
Specifies the relationship to its parent.
- containerType
类型:System. . :: . .Type
The Type the container holds.