Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Sets the profile as the default profile for all replication agents of the same type.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public Sub MakeDefault
'Usage
Dim instance As AgentProfile
instance.MakeDefault()
public void MakeDefault()
public:
void MakeDefault()
member MakeDefault : unit -> unit
public function MakeDefault()
Ausnahmen
| Ausnahme | Bedingung |
|---|---|
| ApplicationException | When the profile represented by the object does not exist on the server. |
Hinweise
The profile must be created on the server before performing this operation.
The MakeDefault method can be called only by members of the sysadmin fixed server role at the Distributor.