Метод | Описание | |
---|---|---|
AddSchedulerScript ( string name, string script, int intervalInMinutes ) : void |
Adds a scheduled job to WAMS
|
|
AddTable ( string tableName, Types defaultPermission = Types.MobileServices.Roles.Application ) : void |
Adds a table to mobile services
|
|
AddTableScript ( CrudOperation operationType, string tableName, string script, Types permission ) : void |
Adds a script for a crud operation to the table
|
|
CreateMobileServiceWithNewDb ( string serviceName, string sqlUsername, string sqlPassword ) : void |
Used to create a new mobile service
|
|
Delete ( bool deleteSqlAzureDatabase = true ) : void |
Deletes a mobile service along with any linked database server
|
|
MobileServiceClient ( string subscriptionId, |
Used to construct a mobile service client
|
|
Refresh ( ) : void |
Refreshes the state of the client
|
|
RegenerateKeys ( ) : void |
Regenerates both the master and the application keys
|
|
Restart ( ) : void |
Used to restart the mobile service
|
|
Update ( ) : void |
Updates any of the settable prooperties of the mobile service
|
Метод | Описание | |
---|---|---|
BuildBase64Config ( |
Builds the configuration necessary to build a mobile service
|
|
BuildCrudDictionary ( IList |
||
EnsureMobileServicesName ( ) : void |
Ensures that the mobile services name has a value
|
|
GetAllSettings ( ) : void |
Gets an aggregate of all of the mobile services settings
|
|
GetCreateNewServiceSpecification ( ) : string |
Used to package the JSON request
|
|
GetLiveNotificationSettings ( ) : void |
Gets all of the Windows settings for notifications and other things
|
|
GetMobileAuthenticationProviderSettings ( ) : void |
Gets a list of mobile auth provider settings and populates
|
|
GetMobileServiceDetails ( ) : void |
Gets the details of the mobile service on startup
|
|
GetMobileServiceResources ( ) : void |
Gets and populates all of the state of the resources
|
|
GetMobileServiceTables ( ) : void |
Gets a list of all of the mobile services tables
|
|
GetScaleSettings ( ) : void |
Gets the webspace properties that will allow the manipulation of the scale
|
|
GetServiceSettings ( ) : void |
Gets all of the Windows settings for notifications and other things
|
|
UpdateAuth ( ) : void |
Used to update the authentication for the mobile service
|
|
UpdateLiveNotifications ( ) : void |
Used to update everything to do with a Microsoft Account including WNS
|
|
UpdateService ( ) : void |
Used to update the service settings currently dynamic schema only
|
public AddSchedulerScript ( string name, string script, int intervalInMinutes ) : void | ||
name | string | The name of the script |
script | string | The actual script |
intervalInMinutes | int | The interval in minutes |
Результат | void |
public AddTable ( string tableName, Types defaultPermission = Types.MobileServices.Roles.Application ) : void | ||
tableName | string | the name of the table |
defaultPermission | Types | Sets the default permission for the table scripts |
Результат | void |
public AddTableScript ( CrudOperation operationType, string tableName, string script, Types permission ) : void | ||
operationType | CrudOperation | The type of operation |
tableName | string | The name of the WAMS table |
script | string | The script to add |
permission | Types | The permissions of the script to upload |
Результат | void |
public CreateMobileServiceWithNewDb ( string serviceName, string sqlUsername, string sqlPassword ) : void | ||
serviceName | string | The name of the mobile service |
sqlUsername | string | the name of the sql user |
sqlPassword | string | The sql password |
Результат | void |
public Delete ( bool deleteSqlAzureDatabase = true ) : void | ||
deleteSqlAzureDatabase | bool | |
Результат | void |
public MobileServiceClient ( string subscriptionId, |
||
subscriptionId | string | the subscription id referenced |
certificate | The management certificate to access the subscription | |
mobileServiceName | string | The name of the mobile service |
Результат | System |