Sdílet prostřednictvím


Database.Federations Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Federation))> _
Public ReadOnly Property Federations As FederationCollection 
    Get
'Usage
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

Property Value

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

See Also

Reference

Database Class

Microsoft.SqlServer.Management.Smo Namespace