Federation Federation Federation Constructors

Definition

Overloads

Federation() Federation() Federation()

Initializes a new instance of the Federation class.

Federation(Database, String) Federation(Database, String)

Initializes a new instance of the Federation class.

Federation(Database, String, String, DataType, DistributionType) Federation(Database, String, String, DataType, DistributionType)

Initializes a new instance of the Federation class.

Federation() Federation() Federation()

Initializes a new instance of the Federation class.

public:
 Federation();
public Federation ();
Public Sub New ()

Federation(Database, String) Federation(Database, String)

Initializes a new instance of the Federation class.

public:
 Federation(Microsoft::SqlServer::Management::Smo::Database ^ database, System::String ^ name);
public Federation (Microsoft.SqlServer.Management.Smo.Database database, string name);
Parameters
database
Database Database Database

The Database in which the Federation will be created.

name
String String String

The name of the federation.

Federation(Database, String, String, DataType, DistributionType) Federation(Database, String, String, DataType, DistributionType)

Initializes a new instance of the Federation class.

public:
 Federation(Microsoft::SqlServer::Management::Smo::Database ^ database, System::String ^ name, System::String ^ distributionName, Microsoft::SqlServer::Management::Smo::DataType ^ dataType, Microsoft::SqlServer::Management::Smo::DistributionType distributionType);
public Federation (Microsoft.SqlServer.Management.Smo.Database database, string name, string distributionName, Microsoft.SqlServer.Management.Smo.DataType dataType, Microsoft.SqlServer.Management.Smo.DistributionType distributionType);
Parameters
database
Database Database Database

The Database in which the Federation will be created.

name
String String String

The name of the federation.

distributionName
String String String

The name for the federation key.

dataType
DataType DataType DataType

The type name for federation key type.

distributionType
DistributionType DistributionType DistributionType

The type of partitioning.

Applies to