SfcMetadataRelation 构造函数 (String, Type, SfcCardinality, SfcRelationship, Type, SfcPropertyFlags, Object, AttributeCollection)

Initializes a new instance of the SfcMetadataRelation class with the specified parameters. 不要在您的代码中直接引用此成员。它支持 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, _
    flags As SfcPropertyFlags, _
    defaultValue As Object, _
    attributes As AttributeCollection _
)
用法
Dim propertyName As String 
Dim type As Type 
Dim cardinality As SfcCardinality 
Dim relationship As SfcRelationship 
Dim containerType As Type 
Dim flags As SfcPropertyFlags 
Dim defaultValue As Object 
Dim attributes As AttributeCollection 

Dim instance As New SfcMetadataRelation(propertyName, _
    type, cardinality, relationship, _
    containerType, flags, defaultValue, _
    attributes)
public SfcMetadataRelation(
    string propertyName,
    Type type,
    SfcCardinality cardinality,
    SfcRelationship relationship,
    Type containerType,
    SfcPropertyFlags flags,
    Object defaultValue,
    AttributeCollection attributes
)
public:
SfcMetadataRelation(
    String^ propertyName, 
    Type^ type, 
    SfcCardinality cardinality, 
    SfcRelationship relationship, 
    Type^ containerType, 
    SfcPropertyFlags flags, 
    Object^ defaultValue, 
    AttributeCollection^ attributes
)
new : 
        propertyName:string * 
        type:Type * 
        cardinality:SfcCardinality * 
        relationship:SfcRelationship * 
        containerType:Type * 
        flags:SfcPropertyFlags * 
        defaultValue:Object * 
        attributes:AttributeCollection -> SfcMetadataRelation
public function SfcMetadataRelation(
    propertyName : String, 
    type : Type, 
    cardinality : SfcCardinality, 
    relationship : SfcRelationship, 
    containerType : Type, 
    flags : SfcPropertyFlags, 
    defaultValue : Object, 
    attributes : AttributeCollection
)

参数

  • defaultValue
    类型:System.Object
    Specifies the default value of the property.

请参阅

参考

SfcMetadataRelation 类

SfcMetadataRelation 重载

Microsoft.SqlServer.Management.Sdk.Sfc.Metadata 命名空间