Initializes a new instance of the SfcObjectAttribute class with the specified flag and relationship to its parent. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Sub New ( _
relationship As SfcObjectRelationship, _
flags As SfcObjectFlags _
)
用法
Dim relationship As SfcObjectRelationship
Dim flags As SfcObjectFlags
Dim instance As New SfcObjectAttribute(relationship, _
flags)
public SfcObjectAttribute(
SfcObjectRelationship relationship,
SfcObjectFlags flags
)
public:
SfcObjectAttribute(
SfcObjectRelationship relationship,
SfcObjectFlags flags
)
new :
relationship:SfcObjectRelationship *
flags:SfcObjectFlags -> SfcObjectAttribute
public function SfcObjectAttribute(
relationship : SfcObjectRelationship,
flags : SfcObjectFlags
)
参数
- relationship
类型:Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObjectRelationship
Specifies the relationship to its parent.
- flags
类型:Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObjectFlags
The specified flag.