SfcMetadataRelation コンストラクター (String, Type, SfcCardinality, SfcRelationship, Type, SfcPropertyFlags, Object, AttributeCollection)
指定したパラメーターを使用して、SfcMetadataRelation クラスの新しいインスタンスを初期化します。 このメンバーをコード内で直接参照しないでください。このメンバーは、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
)
パラメーター
- propertyName
型: System.String
プロパティの名前を示す String です。
- type
型: System.Type
型を指定します。
- cardinality
型: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcCardinality
親とのリレーションシップにおける、型の SfcObjectCardinality 基数です。
- relationship
型: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcRelationship
親とのリレーションシップを指定します。
- containerType
型: System.Type
コンテナーが保持する Type です。
- flags
型: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags
指定したフラグです。
- defaultValue
型: System.Object
プロパティの既定値を指定します。
- attributes
型: System.ComponentModel.AttributeCollection
属性の一覧を指定します。