AgentProfile Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menginisialisasi instans baru kelas AgentProfile.
Overload
| AgentProfile() |
Menginisialisasi instans baru kelas AgentProfile. |
| AgentProfile(Int32, ServerConnection) |
Menginisialisasi instans AgentProfile baru kelas dengan nilai ID profil agen dan koneksi server tertentu. |
| AgentProfile(String, ServerConnection) |
Menginisialisasi instans AgentProfile baru kelas dengan nama profil dan koneksi server yang ditentukan. |
AgentProfile()
Menginisialisasi instans baru kelas AgentProfile.
public:
AgentProfile();
public AgentProfile ();
Public Sub New ()
Berlaku untuk
AgentProfile(Int32, ServerConnection)
Menginisialisasi instans AgentProfile baru kelas dengan nilai ID profil agen dan koneksi server tertentu.
public:
AgentProfile(int profileID, Microsoft::SqlServer::Management::Common::ServerConnection ^ connectionContext);
public AgentProfile (int profileID, Microsoft.SqlServer.Management.Common.ServerConnection connectionContext);
new Microsoft.SqlServer.Replication.AgentProfile : int * Microsoft.SqlServer.Management.Common.ServerConnection -> Microsoft.SqlServer.Replication.AgentProfile
Public Sub New (profileID As Integer, connectionContext As ServerConnection)
Parameter
- connectionContext
- ServerConnection
Objek ServerConnection yang menentukan koneksi ke instans MicrosoftSQL Server.
Berlaku untuk
AgentProfile(String, ServerConnection)
Menginisialisasi instans AgentProfile baru kelas dengan nama profil dan koneksi server yang ditentukan.
public:
AgentProfile(System::String ^ name, Microsoft::SqlServer::Management::Common::ServerConnection ^ connectionContext);
public AgentProfile (string name, Microsoft.SqlServer.Management.Common.ServerConnection connectionContext);
new Microsoft.SqlServer.Replication.AgentProfile : string * Microsoft.SqlServer.Management.Common.ServerConnection -> Microsoft.SqlServer.Replication.AgentProfile
Public Sub New (name As String, connectionContext As ServerConnection)
Parameter
- connectionContext
- ServerConnection
Objek ServerConnection yang menentukan koneksi ke instans SQL Server yang merupakan Distributor.