共用方式為


Database.Federations 屬性

Gets a collection of Federation objects. Each Federation represents a data being partitioned on the database.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Federation))> _
Public ReadOnly Property Federations As FederationCollection 
    Get
'用途
Dim instance As Database 
Dim value As FederationCollection 

value = instance.Federations
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Federation))]
public FederationCollection Federations { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(Federation))]
public:
property FederationCollection^ Federations {
    FederationCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Federation))>]
member Federations : FederationCollection
function get Federations () : FederationCollection

屬性值

型別:Microsoft.SqlServer.Management.Smo.FederationCollection
A FederationCollection object that represents all data being partitioned on the database.

請參閱

參考

Database 類別

Microsoft.SqlServer.Management.Smo 命名空間