Federation Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the Federation class.
Overloads
Federation() |
Initializes a new instance of the Federation class. |
Federation(Database, String) |
Initializes a new instance of the Federation class. |
Federation(Database, String, String, DataType, DistributionType) |
Initializes a new instance of the Federation class. |
Federation()
Initializes a new instance of the Federation class.
public:
Federation();
public Federation ();
Public Sub New ()
Applies to
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);
new Microsoft.SqlServer.Management.Smo.Federation : Microsoft.SqlServer.Management.Smo.Database * string -> Microsoft.SqlServer.Management.Smo.Federation
Public Sub New (database As Database, name As String)
Parameters
- database
- Database
The Database in which the Federation will be created.
- name
- String
The name of the federation.
Applies to
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);
new Microsoft.SqlServer.Management.Smo.Federation : Microsoft.SqlServer.Management.Smo.Database * string * string * Microsoft.SqlServer.Management.Smo.DataType * Microsoft.SqlServer.Management.Smo.DistributionType -> Microsoft.SqlServer.Management.Smo.Federation
Public Sub New (database As Database, name As String, distributionName As String, dataType As DataType, distributionType As DistributionType)
Parameters
- database
- Database
The Database in which the Federation will be created.
- name
- String
The name of the federation.
- distributionName
- String
The name for the federation key.
- dataType
- DataType
The type name for federation key type.
- distributionType
- DistributionType
The type of partitioning.