C# Класс Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet.NewAzureSqlDatabaseServerContext

Наследование: Microsoft.WindowsAzure.Commands.Utilities.Common.AzureSMCmdlet
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CreateServerDataServiceContext IServerDataServiceContext
GetManageUrl System.Uri
GetServerDataServiceByCertAuth Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.ServerDataServiceCertAuth
GetServerDataServiceBySqlAuth IServerDataServiceContext
GetServerName string
GetSqlAuthCredentials Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Common.SqlAuthenticationCredentials

Открытые методы

Метод Описание
ExecuteCmdlet ( ) : void

Process the command.

Приватные методы

Метод Описание
CreateServerDataServiceContext ( string serverName, Uri managementServiceUri, Uri manageUrl ) : IServerDataServiceContext

Creates a new operation context based on the Cmdlet's parameter set and the manageUrl.

GetManageUrl ( string parameterSetName ) : Uri

Obtain the ManageUrl based on the Cmdlet's parameter set.

GetServerDataServiceByCertAuth ( string serverName, AzureSubscription subscription ) : ServerDataServiceCertAuth

Connect to Azure SQL Server using certificate authentication.

GetServerDataServiceBySqlAuth ( string serverName, Uri managementServiceUri, Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Common.SqlAuthenticationCredentials credentials, Uri manageUrl ) : IServerDataServiceContext

Connect to a Azure SQL Server with the given ManagementService Uri using SQL authentication credentials.

GetServerName ( Uri manageUrl ) : string

Obtain the ServerName based on the Cmdlet's parameter set.

GetSqlAuthCredentials ( ) : Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Common.SqlAuthenticationCredentials

Obtain the SQL Authentication Credentials based on the Cmdlet's parameter set.

Описание методов

ExecuteCmdlet() публичный Метод

Process the command.
public ExecuteCmdlet ( ) : void
Результат void